package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.Role;
import com.huaxiafinance.management.model.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRoleMapper {
	int addUserRole(UserRole userRole);

	int updateUserRole(UserRole userRole);

	int delUserRole(Integer id);
	
	List<Role> queryRole();

	Integer selectIsDesensitization(@Param("userId")Integer userId);
}
